/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.crossriver.crgis.database.model;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * This class is used by
 * {@link com.crossriver.crgis.database.service.http.Individual_InformationServiceSoap}.
 * </p>
 *
 * @author    Wole Adetiba
 * @see       com.crossriver.crgis.database.service.http.Individual_InformationServiceSoap
 * @generated
 */
public class Individual_InformationSoap implements Serializable {
	public static Individual_InformationSoap toSoapModel(
		Individual_Information model) {
		Individual_InformationSoap soapModel = new Individual_InformationSoap();

		soapModel.setApplicationId(model.getApplicationId());
		soapModel.setUserId(model.getUserId());
		soapModel.setTitle(model.getTitle());
		soapModel.setLastName(model.getLastName());
		soapModel.setFirstName(model.getFirstName());
		soapModel.setMiddleName(model.getMiddleName());
		soapModel.setDateOfBirth(model.getDateOfBirth());
		soapModel.setOccupation(model.getOccupation());
		soapModel.setGender(model.getGender());
		soapModel.setReligion(model.getReligion());
		soapModel.setEducation(model.getEducation());
		soapModel.setNationality(model.getNationality());
		soapModel.setStateOfOrigin(model.getStateOfOrigin());
		soapModel.setLga(model.getLga());
		soapModel.setMaritalStatus(model.getMaritalStatus());
		soapModel.setNoOfChildren(model.getNoOfChildren());
		soapModel.setIdentificationDoc(model.getIdentificationDoc());
		soapModel.setIdentificationDocNo(model.getIdentificationDocNo());

		return soapModel;
	}

	public static Individual_InformationSoap[] toSoapModels(
		Individual_Information[] models) {
		Individual_InformationSoap[] soapModels = new Individual_InformationSoap[models.length];

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModel(models[i]);
		}

		return soapModels;
	}

	public static Individual_InformationSoap[][] toSoapModels(
		Individual_Information[][] models) {
		Individual_InformationSoap[][] soapModels = null;

		if (models.length > 0) {
			soapModels = new Individual_InformationSoap[models.length][models[0].length];
		}
		else {
			soapModels = new Individual_InformationSoap[0][0];
		}

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModels(models[i]);
		}

		return soapModels;
	}

	public static Individual_InformationSoap[] toSoapModels(
		List<Individual_Information> models) {
		List<Individual_InformationSoap> soapModels = new ArrayList<Individual_InformationSoap>(models.size());

		for (Individual_Information model : models) {
			soapModels.add(toSoapModel(model));
		}

		return soapModels.toArray(new Individual_InformationSoap[soapModels.size()]);
	}

	public Individual_InformationSoap() {
	}

	public String getPrimaryKey() {
		return _applicationId;
	}

	public void setPrimaryKey(String pk) {
		setApplicationId(pk);
	}

	public String getApplicationId() {
		return _applicationId;
	}

	public void setApplicationId(String applicationId) {
		_applicationId = applicationId;
	}

	public String getUserId() {
		return _userId;
	}

	public void setUserId(String userId) {
		_userId = userId;
	}

	public String getTitle() {
		return _title;
	}

	public void setTitle(String title) {
		_title = title;
	}

	public String getLastName() {
		return _lastName;
	}

	public void setLastName(String lastName) {
		_lastName = lastName;
	}

	public String getFirstName() {
		return _firstName;
	}

	public void setFirstName(String firstName) {
		_firstName = firstName;
	}

	public String getMiddleName() {
		return _middleName;
	}

	public void setMiddleName(String middleName) {
		_middleName = middleName;
	}

	public Date getDateOfBirth() {
		return _dateOfBirth;
	}

	public void setDateOfBirth(Date dateOfBirth) {
		_dateOfBirth = dateOfBirth;
	}

	public String getOccupation() {
		return _occupation;
	}

	public void setOccupation(String occupation) {
		_occupation = occupation;
	}

	public String getGender() {
		return _gender;
	}

	public void setGender(String gender) {
		_gender = gender;
	}

	public String getReligion() {
		return _religion;
	}

	public void setReligion(String religion) {
		_religion = religion;
	}

	public String getEducation() {
		return _education;
	}

	public void setEducation(String education) {
		_education = education;
	}

	public String getNationality() {
		return _nationality;
	}

	public void setNationality(String nationality) {
		_nationality = nationality;
	}

	public String getStateOfOrigin() {
		return _stateOfOrigin;
	}

	public void setStateOfOrigin(String stateOfOrigin) {
		_stateOfOrigin = stateOfOrigin;
	}

	public String getLga() {
		return _lga;
	}

	public void setLga(String lga) {
		_lga = lga;
	}

	public String getMaritalStatus() {
		return _maritalStatus;
	}

	public void setMaritalStatus(String maritalStatus) {
		_maritalStatus = maritalStatus;
	}

	public int getNoOfChildren() {
		return _noOfChildren;
	}

	public void setNoOfChildren(int noOfChildren) {
		_noOfChildren = noOfChildren;
	}

	public String getIdentificationDoc() {
		return _identificationDoc;
	}

	public void setIdentificationDoc(String identificationDoc) {
		_identificationDoc = identificationDoc;
	}

	public String getIdentificationDocNo() {
		return _identificationDocNo;
	}

	public void setIdentificationDocNo(String identificationDocNo) {
		_identificationDocNo = identificationDocNo;
	}

	private String _applicationId;
	private String _userId;
	private String _title;
	private String _lastName;
	private String _firstName;
	private String _middleName;
	private Date _dateOfBirth;
	private String _occupation;
	private String _gender;
	private String _religion;
	private String _education;
	private String _nationality;
	private String _stateOfOrigin;
	private String _lga;
	private String _maritalStatus;
	private int _noOfChildren;
	private String _identificationDoc;
	private String _identificationDocNo;
}